module.exports = {
    title: 'vuepress-reco-1.x',
    description: 'this is vuepress-reco-1.x',
    dest: 'public',
    head: [
        [
            'link',
            {
                rel: 'icon',
                href: '/favicon.ico',
            },
        ],
        [
            'meta',
            {
                name: 'viewport',
                content: 'width=device-width,initial-scale=1,user-scalable=no',
            },
        ],
    ],
    theme: 'reco',
    themeConfig: {
        // 导航兰
        nav: [
            {
                text: 'Home', // 导航文本
                link: '/', // 路由地址
                icon: 'reco-home', // 字体图标
            },
            {
                text: 'TimeLine',
                link: '/timeline/',
                icon: 'reco-date',
            },
            {
                text: 'Docs',
                icon: 'reco-message',
                items: [
                    // 导航子模块
                    {
                        text: 'vuepress-reco', // 子模块文本
                        link: '/docs/theme-reco/', // 子模块连接
                    },
                ],
            },
            {
                text: 'Contact',
                icon: 'reco-message',
                items: [
                    {
                        text: 'GitHub',
                        link: 'https://github.com/bealei',
                        icon: 'reco-github',
                    },
                    {
                        text: 'Gitee',
                        link: 'https://gitee.com/bealei',
                        icon: 'reco-github',
                    },
                    {
                        text: 'CSDN',
                        link: 'https://blog.csdn.net/bealei',
                        icon: 'reco-github',
                    },
                    {
                        text: 'Bealei',
                        link: 'http://bealei.com',
                        icon: 'reco-github',
                    },
                ],
            },
        ],
        // 侧边栏
        sidebar: {
            '/docs/theme-reco/': ['', 'theme', 'plugin', 'api'],
        },
        type: 'blog',
        blogConfig: {
            category: {
                location: 2,
                text: 'Category',
            },
            tag: {
                location: 3,
                text: 'Tag',
            },
        },
        // 友情链接
        friendLink: [
            {
                title: '午后南杂', // 友链标题
                desc: 'Enjoy when you can, and endure when you must.', // 友链描述
                email: '1156743527@qq.com', // 友链邮箱
                link: 'https://www.recoluan.com', // 友链地址
            },
            {
                title: 'vuepress-theme-reco',
                desc: 'A simple and beautiful vuepress Blog & Doc theme.',
                avatar: 'https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png',
                link: 'https://vuepress-theme-reco.recoluan.com',
            },
        ],
        logo: '/logo.png', // 网站LOGO
        search: true, // 是否开启搜索
        searchMaxSuggestions: 10, // 最多的搜索建议条目
        lastUpdated: 'Last Updated',
        author: 'bealei', // 版权信息。与昵称一致
        authorAvatar: '/avatar.png', // 头像
        record: 'xxxx', // 备案信息
        startYear: '2017', // 开始年份
    },
    markdown: {
        lineNumbers: true,
    },
};
